<?php
return [
    //系统保留信息
    'sysModel' => [
        //'sysMod' => ['tb', 'admin', 'roles', 'access', 'rule', 'category', 'mclass', 'colrule', 'files'],
        'sysmod'=>[
            ['id'=>'90001','name'=>'mod','alias'=>'系统模型','actions'=>['view','add','edit','delete']],
            ['id'=>'90002','name'=>'roles','alias'=>'角色模型','actions'=>['view','add','edit','delete']],
            ['id'=>'90003','name'=>'admin','alias'=>'用户模型','actions'=>['view','add','edit','delete']],
            ['id'=>'90004','name'=>'rule','alias'=>'菜单模型','actions'=>['list','view','add','edit','delete']],
            ['id'=>'90005','name'=>'files','alias'=>'文件模型','actions'=>['list','view','add','edit','delete']],
            ['id'=>'90006','name'=>'actions','alias'=>'按钮模型','actions'=>['view','add','edit','delete']],
            ['id'=>'90007','name'=>'classify','alias'=>'分类模型','actions'=>['list','view','add','edit','delete']],
            ['id'=>'90008','name'=>'cols','alias'=>'字段模型','actions'=>['view','add','edit','delete']],
            ['id'=>'90009','name'=>'icon','alias'=>'图标模型','actions'=>['view','add','edit','delete','list']],
        ],
        //模型类型
        'modType' => [
            'form' => ['name' => '表单模型', 'actions' => ['view', 'edit']],
            'classic' => ['name' => '通用模型', 'actions' => ['list','view', 'add', 'remove', 'recovery', 'delete', 'edit', 'search', 'importxlsx', 'exportxlsx', 'enabled', 'jian', 'ding']],
            'backstage' => ['name' => '内部模型', 'actions' => ['list','view', 'add', 'delete', 'edit', 'exportxlsx', 'search', 'enabled','technician']],
        ],
        //字段类型
        'colType' => [
            ['id' => 'INT', 'title' => 'INT'],
            ['id' => 'FLOAT', 'title' => 'FLOAT'],
            ['id' => 'VARCHAR', 'title' => 'VARCHAR'],
            ['id' => 'TEXT', 'title' => 'TEXT'],
            ['id' => 'MEDIUMTEXT', 'title' => 'MEDIUMTEXT']
        ],
        //字段
        'formitem' => [
            ['name' => '单行文本框', 'id' => 'input'],//单纯的文本录入
            ['name' => '隐藏元素', 'id' => 'hidden'],//只提交不显示
            ['name' => '非表单元素', 'id' => 'none'],//不存在于表单
            ['name' => '密码框', 'id' => 'password'],//密码输入
            ['name' => '日期时间', 'id' => 'datetime'],//如2023-09-01 12:12:12
            ['name' => '日期', 'id' => 'date'],//如2023-09-01
            ['name' => '下拉菜单', 'id' => 'select'],
            ['name' => '树状菜单', 'id' => 'tree'],
            ['name' => '联动菜单', 'id' => 'linkage'],
            ['name' => '多行文本框', 'id' => 'textarea'],//单纯多行文本录入
            ['name' => '富文本编辑器', 'id' => 'editor'],//集成ckeditor5
            ['name' => '单选框', 'id' => 'radio'],//单选
            ['name' => '复选框', 'id' => 'checkbox'],//多选
            ['name' => '单图片', 'id' => 'thumb'],//单个图片
            ['name' => '相册', 'id' => 'photo'],//多个图片
            ['name' => '视频', 'id' => 'video'],//视频
            ['name' => '附件', 'id' => 'files'],//附件可以多个
            ['name' => '开关', 'id' => 'switch'],//开关，是否等
            ['name' => '图标', 'id' => 'icon'],//ICON图标
            ['name' => '标签', 'id' => 'tags']//标签
        ]
    ],
];
